﻿using System.ComponentModel.DataAnnotations;

namespace Model.DTO.Member
{
    /// <summary>
    /// 添加会员DTO
    /// </summary>
    public class AddMemberDTO
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        [Required]
        public int UserId { get; set; }
        /// <summary>
        /// 会员类型Id
        /// </summary>
        [Required]
        public int MemberTypeId { get; set; }
        /// <summary>
        /// 天数
        /// </summary>
        public double? Day { get; set; }
        /// <summary>
        /// 小时
        /// </summary>
        public double? Hour { get; set; }
        /// <summary>
        /// 分钟
        /// </summary>
        public double? Minute { get; set; }
    }
}
